﻿using System;
using System.IO.Pipelines;
using System.Threading.Tasks;

namespace Atomic
{
    public interface ITransport
    {
        // Can only be called once per ITransport
        Task BindAsync();
        Task UnbindAsync();
        Task StopAsync();
    }

    //public interface IConnectionHandler
    //{
    //    IConnectionContext OnConnection(IConnectionInformation connectionInfo);
    //}
}
